<layout name="layout" />
<div id="right_content">
  <h2>통화기록</h2>
 <div id="tab1" class="tabcontent">
    <h3>통화기록</h3>
    <div class="form">
      <div class="form_row">
        <label>Tel:</label>
        <input type="text" class="form_input" name="tel" id="tel" value="{$data.tel}" disabled readonly />
        <!-- <a href="#"  >check</a> -->
      </div>
      <div class="form_row">
        <label>Name:</label>
        <input type="text" class="form_input" name="name" id="name" value="{$data.name}" disabled readonly />
      </div>
      <div class="form_row">
        <label>level:</label>
        <select class="form_select" name="level" disabled readonly>
          <option value="0" <eq name="data.level" value="0"> selected </eq> >0</option>
          <option value="1" <eq name="data.level" value="1"> selected </eq> >레벨1 문자전송</option>
          <option value="2" <eq name="data.level" value="2"> selected </eq> >레벨2 재전화요망</option>
          <option value="3" <eq name="data.level" value="3"> selected </eq> >레벨3 부재중</option>
          <option value="4" <eq name="data.level" value="4"> selected </eq> >레벨4 게임안함</option>
          <option value="5" <eq name="data.level" value="5"> selected </eq> >레벨5 매장,총판 원하는 유저</option>
          <option value="6" <eq name="data.level" value="6"> selected </eq> >레벨6 delete</option>
        </select>
      </div>
      <div class="clear"></div>
    </div>
  </div> 
  <div class="form_sub_buttons"></div>
</div>
</LT>

<div id="right_content">
  <h2>call list</h2>
  <table id="rounded-corner">
    <thead>
      <tr>
        <th width="40">이름</th>
        <th width="95">전화번호</th>
        <th width="245">통화기록</th>
        <th width="90">고객상담id</th>
        <th width="120">등록일자</th>
      </tr>
    </thead>

    <tbody>
      <td height="6"><foreach name='list' item='v'>
        <if condition="(($v.id % 2) eq 1) ">
            <tr class="odd">
        <else />
    <tr class="even">
        </if>
        
            <td>{$v.name}</td>
            <td>{$v.tel}</td>
            <td>{$v.log}</td>
            <td>{$v.uid}</td>
            <td width="84">{$v.addtime}</td>
   	</tr>
        <!-- <th>{$v.addtime|date='y-m-d H:i',###}</th>-->
  		</foreach>

    </tbody>
        <tfoot>
      <tr>
        <td colspan="12"></td>
      </tr>
    </tfoot>
  </table>
</div>